﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace DesktopSpeedPOS
{
    public partial class MDIMain : Form
    {
        private int childFormNumber = 0;

        private bool autenticado = false;

        public MDIMain()
        {
            InitializeComponent();
        }


        private void salirAppMenu_Click(object sender, EventArgs e)
        {
            this.Close();
        }

        private void loginShow(object sender, EventArgs e)
        {
            if (this.autenticado == false)
            {
                Form formLogin = new FormLogin();
                formLogin.ShowDialog(this);
            }
        }
    }
}
